﻿#ifndef __lvgl_power_on_h__
#define __lvgl_power_on_h__


#include "main.h"
#include "lvgl_project.h"

#if 1
#define lvgl_power_on_debug(format, ...) lvgl_project_debug("[lvgl power_on]-",format,##__VA_ARGS__);
#else
#define lvgl_power_on_debug(format, ...) ;
#endif

#define power_on_Button_Num 13

#define power_on_event_anXia 100


typedef struct
{
    char buf[100];

    lv_obj_t* cont_main;
    lv_obj_t* task;
    lv_anim_t anim_in;
    lv_anim_t anim_out;
    lv_anim_path_t anim_path_in;
    lv_anim_path_t anim_path_out;


    lv_obj_t* cont_select;
    lv_anim_t* anim_select;
    lv_anim_path_t* anim_path_select;
    lv_obj_t* label1;
    lv_obj_t* image1;
    lv_obj_t* btn1;
    lv_obj_t* img_gif1;
    lv_obj_t* img_gif2;

    lv_obj_t* close_task;
    bool close_flag;
    uint32_t close_count;
    bool img_gif1_flash;

}__lvgl_power_on_data;

extern __lvgl_power_on_data lvgl_power_on_data;



void lvgl_power_on_create(lv_obj_t* Fu);
void lvgl_power_on_close(void);
void lvgl_power_on_hidden(void);
void lvgl_power_on_TaskCb(lv_task_t* t);

#endif
